projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b5039c
)
; Fix recent byte-compiler warning in dnd.el again
author
Basil L. Contovounesios
<contovob@tcd.ie>
Thu, 7 May 2020 17:36:53 +0000
(18:36 +0100)
committer
Basil L. Contovounesios
<contovob@tcd.ie>
Thu, 7 May 2020 17:39:48 +0000
(18:39 +0100)
* lisp/dnd.el (dnd-handle-one-url): Declare new autoloaded function
browse-url-select-handler to silence the byte-compiler during 'make
bootstrap'.
lisp/dnd.el
patch
|
blob
|
history
diff --git
a/lisp/dnd.el
b/lisp/dnd.el
index c185794d6eac5bf8c827f271052b5055bee65b38..102bc752b07417e23f9a4dc5175d9d74d077413d 100644
(file)
--- a/
lisp/dnd.el
+++ b/
lisp/dnd.el
@@
-101,6
+101,8
@@
is what has been dropped. Returns ACTION."
(throw 'done t)))
nil)
(catch 'done
+ ;; Autoloaded but the byte-compiler still complains.
+ (declare-function browse-url-select-handler "browse-url" (url))
(let ((browser (browse-url-select-handler url)))
(when browser
(setq ret 'private)